package com.mantru.iotpot.Adapter

import android.content.Context
import com.mantru.iotpot.Adapter.Base.AppAdapter
import com.mantru.iotpot.Adapter.Base.AppHolder
import com.mantru.iotpot.Bean.DishesTimePageItemBean
import com.mantru.iotpot.R

class DishesTimePageItemAdapter(var context: Context, layoutResId: Int, var data: MutableList<DishesTimePageItemBean>): AppAdapter<DishesTimePageItemBean>(context, layoutResId, data) {
    override fun convert(holder: AppHolder?, position: Int, item: DishesTimePageItemBean) {
        holder?.setText(R.id.adapter_dishes_time_page_item_text, item.name)
    }
}